<!--

生成最基本的Restful模板页面

顶部有按（门店、时间段*）查询 添加按钮

包含一个 ag-grid 列表，默认表头只有一行，每列都可查询，默认每条最后有打开、删除按钮

有新增、修改弹出层
-->

<div class="view-header">
    <div class="view-header-left">

		<!-- 查询 -->
		<div class="search-shop">
			<i class="fa fa-home"></i>
			<member-shop-picker class="from-control" shop="shop"></member-shop-picker>
		</div>
		<div>
			<div class="search-shop">
				<input type="text" ng-model="search_params.id_card" placeholder="身份证号" class="ng-pristine ng-valid">
				<i class="fa fa-newspaper-o"></i>
			</div>

			<div class="search-date">
				<i class="fa fa-calendar search-date-i"></i>
				<datetimepicker class="search-date-start"
								min-view="2"
								end-date="search_params.date_end"
								ng-model="search_params.date_start"></datetimepicker>

			</div>
			<div class="search-date">
				<i class="fa fa-calendar search-date-i"></i>
				<datetimepicker class="search-date-end"
								min-view="2"
								start-date="search_params.date_start"
								ng-model="search_params.date_end"></datetimepicker>
			</div>
			<div class="view-header-left">
				<div class="view-header-item no-widen"
					 ng-click="refresh()" title="查询">
					<i class="fa fa-search"></i>
				</div>
				<a class="view-header-item no-widen" href="/api/member/members/export_ticket?start={{search_params.date_start}}&end={{search_params.date_end}}" target="_blank"
				   title="导出">
					<i class="fa fa-download"></i>
				</a>
			</div>

		</div>
	</div>


</div>
<div class="view-content ">
    <div ag-grid="grid" class="ag-material" style="height :100%"></div>
</div>
